SftTabs/NET 6.0

VisibleTab Property, ScrollingClass Class

Softel vdm, Inc.

Returns the tab index of the first visible tab in a scrollable tab control.

Syntax      ScrollingClass Class (Softelvdm.SftTabsNET)

VB   

Public ReadOnly Property VisibleTab As Integer

C#   

public int VisibleTab { get; }

C++   

public: property int VisibleTab {
        int get();
}

Property Value

The zero-based index of the first visible tab.

Comments

The VisibleTab property returns the tab index of the first visible tab in a scrollable tab control.

The VisibleTab property only applies to scrollable tab controls. It refers to the first visible tab, which can be seen by the user without scrolling the tabs. It does not refer to hidden tabs as defined using the TabClass.Visible property.

The LastVisibleTab property returns the tab index of the last completely visible tab.

The LeftButton and RightButton properties can be used to determine if scrolling in a given direction is possible. The Scroll method is used to scroll a tab control under application control.

If scrolling is not enabled, this property cannot be used.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com